
import { defineConfig } from 'vitepress'

import nav from './navBar.json'
import sideBar from './sideBar.json'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  ignoreDeadLinks: true,
  title: "Solon",
  description: "Java 新的生态型应用开发框架：更快、更小、更简单。",
  head: [
    // 改变title的图标
    [
        'link',
        {
            rel: 'icon',
            href: 'https://solon.noear.orghttps://solon.noear.org/img/solon/favicon.png',//图片放在public文件夹下
        },
    ],
],
  themeConfig: {
    logo:"https://solon.noear.orghttps://solon.noear.org/img/solon/favicon.png",
    // https://vitepress.dev/reference/default-theme-config
    nav: nav,
    sidebar: sideBar,
    socialLinks: [
      { icon: 'github', link: 'https://github.com/noear/solon' }
    ]
  }},
  
)
   